package com.tqw.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tqw.pojo.Item;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: czm
 * @Date: 2022/04/17/15:57
 * @Description:
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class OrderListItemVO implements Serializable {
    private Integer id;
    private String orderId;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss",timezone = "GMT+8")
    private Date createdTime;
    private BigDecimal price;
    private Integer status;
    private Item item;
}
